#ifndef MODEL_H
#define MODEL_H
//---------------
#include <string>
#include <utility>
#include <map>
#include "Animacion.h"
#include "Textura.h"
#include "Report.h"
//---------------
using namespace std;
//---------------
class Model
{
public:
	friend class Report;
	void reportar();
	void* operator new(size_t _size);
	//void* operator delete();
	void createAnimation(Animacion anim);
	void createTexture(Textura tex);
	bool deleteAnimation(Animacion anim);
	bool deleteTexture(Textura tex);
	Model(Animacion anim[], Textura tex[]);
private:
	string Name;
	map<int, Model> MPM;
	map<string,pair<Animacion,int>> MPA;
	map<string,pair<Textura,int>> MPT;
};
//---------------
#endif